package com.dailygreetings.dailygreetings.bo;

import lombok.Data;

import java.util.List;

/**
 * @BelongsProject: daily-greetings
 * @BelongsPackage: com.dailygreetings.dailygreetings.bo
 * @Author: shanzhengfei
 * @CreateTime: 2024-11-21  17:51
 * @Description: 发送消息请求体
 * @Version: 1.0
 */

@Data
public class SendMessageRequest {
    private String touser;
    private String msgtype;
    private int agentid;
    private News news;
    private int enable_id_trans;
    private int enable_duplicate_check;
    private int duplicate_check_interval;

   @Data
    public static class News {
        private List<Article> articles;
    }

    @Data
    public static class Article {
        private String title;
        private String description;
        private String url;
        private String picurl;
    }
}
